import { adminBaseRoutePath } from '/@/router/static/adminBase'
import createAxios from '/@/utils/axios'

const couponUrl = adminBaseRoutePath + '/shop.market.coupon.receive/'

//还原优惠券
export function restore(params: anyObj) {
    return createAxios(
        {
            url: couponUrl + 'restore',
            method: 'post',
            data: params,
        },
        {
            showSuccessMessage: true,
        }
    )
}
